<?phprequire_once dirname(__FILE__).'/includes/test-connexion.php';require_once dirname(__FILE__).'/includes/config.php'; $id = $_GET['id'];if($_SESSION['pseudo'] != '')$pseudo = $_SESSION['pseudo'];elseif($_COOKIE['pseudo'] != '')$pseudo = $_COOKIE['pseudo'];$id = mysql_real_escape_string($id);$pseudo = mysql_real_escape_string($pseudo);mysql_query('UPDATE newsletter_newsletters SET statut="3" WHERE newsletter="'.$pseudo.'" AND id ='.$id);header("Location: gerer.html");